const table = [
  { prop: 'ruleNumber', label: '计费规则编号' },
  { prop: 'ruleName', label: '计费规则名称' },
  { prop: 'freeDuration', label: '免费时长（分钟）' },
  { prop: 'chargeCeiling', label: '收费上限（元）' },
  { prop: 'chargeType', label: '计费方式', formatter: (r, c, v) => this.chargeTypeMap[v] },
  { prop: 'ruleNameView', label: '计费规则', width: '300px' },
  { prop: 'operate', label: '操作', slotName: 'operate', headSlotName: 'headOperate', fixed: "right", width: "180" }
]

const genForm = (list) => {
  return list.reduce((prev, next) => {
    if (next.prop !== 'operate') prev[next.prop] = next.label
    return prev
  }, {})
}

console.log('genForm(table)',genForm(table))
